import { reactive } from 'vue'

const listEffect = () => {
  const list = reactive([])
  const handleSubmit = (item) => {
    list.push(item)
  }
  return {
    list,
    handleSubmit
  }
}

export default listEffect
